home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 509 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  936 b 

  1. Path: rover.ucs.ualberta.ca!news
  2. From: wbortz@gpu.srv.ualberta.ca (Wade Bortz)
  3. Newsgroups: comp.sys.m68k
  4. Subject: 332 Interrupt programming
  5. Date: 30 Mar 1996 12:22:10 GMT
  6. Organization: U of A
  7. Message-ID: <4jj91i$15i8@pulp.ucs.ualberta.ca>
  8. NNTP-Posting-Host: async3-7.remote.ualberta.ca
  9. Mime-Version: 1.0
  10. X-Newsreader: WinVN 0.99.2
  11.  
  12.     I've been struggling with this for a month or so now - can anyone 
  13. recomend some resources which would explain interrupt programming on the 
  14. 332 in C?  Motorola has not been of much help, neither has SDSI, whose C 
  15. compiler I am using.  
  16.     I want to run an interrupt function once every second.  I'm using 
  17. the #pragma interrupt compiler directive for the function, and have set 
  18. PICR and PITR, and loaded the address of my interrupt function into the 
  19. proper vector in the exception table.  What am I missing here?  Any help 
  20. would be greatly appreciated.
  21.  
  22.                         Wade Bortz
  23.                         University of Alberta
  24.  
  25.